<!--
	此示例下载自 https://echarts.apache.org/examples/zh/editor.html?c=pie-roseType-simple&code=PYBwLglsB2AEC8sDeAoW7JgDYFMBcya6sYOAHmAQOQAqogrK6CO-oL9qgbdqD7foIXRVANEegGcArgCNSFaoCojQEbWAJgAMsgMwBaAIyyVs2b36xcAM0qwqAYxzRSAJypEAvn3S4A5hYAmBVMRKhqI4GBgwAC2tugOREHAWP5knnoCABbAAO4EYFZCOI7EBjgAhmBCVviE3ujB-VYA1p6wSanpmTiwEeWwboX5AGoQOGnI9ckDGVk8sCX5bgDy0FgAngQG-VgCLW3lJQJBJXUNI82tOd4C-QBuOACCAgCSla57w01ZrXp29jlrVn0CBADaei85Wg-WCpSoADkIM5EpBoM4Vi0AMKJKpgXTtMDzEDgkB9DGbKYQIS_WB_ACs8nGskpAF1jsRzJYcFZ_lRKQBSXgmTlUel6dBWYBrGjY8FVAoE7wQUjBADKWNw8Xa6H8VjcLIASkSSQQABwCo6GzpgfL_Q3oJCwM4rLIEAAsVNgILB1CFa1gaioRpVgxtWDtsCUevGLvB7paOh9Kqt_sDSlkodB4eFLSU3o27VjttKSidYbdqdg9ozDO82YDpVkIedycLHvJpYtfpzBFkADYk66TBHYO2m76K4HtF2Ux6AOwDmPW1uemsFntFvUZw20t5ENd2ADcQA
	⚠ 请注意，该图表不是 Apache ECharts 官方示例，而是由用户代码生成的。请注意鉴别其内容。
-->
<!DOCTYPE html>
<html lang="en" style="height: 100%">
<head>
  <meta charset="utf-8">
</head>
<body style="height: 100%; margin: 0">
  <div id="container" style="height: 100%"></div>

  
  <script type="text/javascript" src="https://registry.npmmirror.com/echarts/5.4.3/files/dist/echarts.min.js"></script>
  <!-- Uncomment this line if you want to dataTool extension
  <script type="text/javascript" src="https://registry.npmmirror.com/echarts/5.4.3/files/dist/extension/dataTool.min.js"></script>
  -->
  <!-- Uncomment this line if you want to use gl extension
  <script type="text/javascript" src="https://registry.npmmirror.com/echarts-gl/2/files/dist/echarts-gl.min.js"></script>
  -->
  <!-- Uncomment this line if you want to echarts-stat extension
  <script type="text/javascript" src="https://registry.npmmirror.com/echarts-stat/latest/files/dist/ecStat.min.js"></script>
  -->
  <!-- Uncomment this line if you want to use map
  <script type="text/javascript" src="https://registry.npmmirror.com/echarts/4.9.0/files/map/js/china.js"></script>
  <script type="text/javascript" src="https://registry.npmmirror.com/echarts/4.9.0/files/map/js/world.js"></script>
  -->
  <!-- Uncomment these two lines if you want to use bmap extension
  <script type="text/javascript" src="https://api.map.baidu.com/api?v=3.0&ak=YOUR_API_KEY"></script>
  <script type="text/javascript" src="https://registry.npmmirror.com/echarts/5.4.3/files/dist/extension/bmap.min.js"></script>
  -->

  <script type="text/javascript">
    var dom = document.getElementById('container');
    var myChart = echarts.init(dom, null, {
      renderer: 'canvas',
      useDirtyRect: false
    });
    var app = {};
    
    var option;

    option = {
   title: {
    text: 'Top电影国家统计',
    subtext: '截止2023-12-22',
    left: 'center'
  },
  legend: {
    top: 'bottom'
  },
  toolbox: {
    show: true,
    feature: {
      mark: { show: true },
      dataView: { show: true, readOnly: false },
      restore: { show: true },
      saveAsImage: { show: true }
    }
  },
  series: [
    {
      name: 'Nightingale Chart',
      type: 'pie',
      radius: [50, 250],
      center: ['50%', '50%'],
      roseType: 'area',
      itemStyle: {
        borderRadius: 8
      },
      data: [
        { value: 40, name: 'rose 1' },
        { value: 38, name: 'rose 2' },
        { value: 32, name: 'rose 3' },
        { value: 30, name: 'rose 4' },
        { value: 28, name: 'rose 5' },
        { value: 26, name: 'rose 6' },
        { value: 22, name: 'rose 7' },
        { value: 18, name: 'rose 8' }
      ]
    }
  ]
};

    if (option && typeof option === 'object') {
      myChart.setOption(option);
    }

    window.addEventListener('resize', myChart.resize);
  </script>
</body>
</html>